﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="SalesBudget_Edit_Grid.aspx.vb" Inherits="Slxt.SalesBudget_Edit_Grid" %>
<%@ Import Namespace="System.Data" %>
<%@ Register TagPrefix="mwc" Namespace="MySoft.WebControls" Assembly="MySoft.WebControls" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<head runat="server">
    <title>无标题页</title>
     <link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
    <link rel="stylesheet" type="text/css" href="/_grid/map_grid.css">
    <link rel="stylesheet" type="text/css" href="/_forms/styles/form.css">
      <script language="javascript" src="/_controls/setting.js"></script>
<script language="javascript" src="/_grid/rep_grid.js"></script>
    <script language="javascript" src="/_controls/util/util.js"></script>
    <script language="javascript" src="/_controls/number/number.js"></script>
    <script language="javascript" src="/_common/scripts/global.js"></script>
    <script language="javascript" src="/Slxt/SCYX/SalesBudget_Edit.js"></script>  
    <script language="javascript">
		function window.onload()
			{
			    initGrid(tblData); 				//初始化 Repeater 中的表格(id=gridBar)
			}
      </script>  
</head>
<body style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px">
    <form id="form1" runat="server">
   	<mwc:repeater id="Repeater1" runat="server" SortSignDESC='<img src="/_imgs/ico_arrow_d.gif">'
							SortSignASC='<img src="/_imgs/ico_arrow_u.gif">' EnablePager="false">
							<HeaderTemplate>
							
								<table width="100%"  height="90%" cellspacing="0" cellpadding="0" border="0" style="BACKGROUND-COLOR: white;table-layout:fixed">
									<TBODY>
										<!-- 列表行 -->
										<tr valign="top">
											<td>
												<div style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 100%;">
													<table id="tblData"  cellpadding="0" cellspacing="0"
														border="0" MultiSelect="true" gridID="Repeater1" style="table-layout:fixed">
														<colgroup id="gridBarCols">
															<col width="40">
															<col width="2">
															<col >
															<col width="2">
															<col width="120">
															<col width="2">
															<col width="120">
															<col width="2">
															<col width="120">
															<col width="2">
															<col width="120">
															<col width="2">
															<col width="120">
															<col width="2">
														</colgroup>
														<TBODY>
															<tr class="scrollColThead" id="trHeader" pagesize="" align="center" height="23" style="CURSOR:hand">
																<td align="center" class="gridBar"><nobr>序号</nobr></td>
																<td class="gridBar"><img src="/_imgs/bar_line.gif"></td>
																<td align="center" class="gridBar"><nobr>一级产品类型</nobr></td>
																<td class="gridBar"><img src="/_imgs/bar_line.gif"></td>
																<td class="gridBar"><nobr>计划销售套数</nobr></td>
																<td class="gridBar"><img src="/_imgs/bar_line.gif"></td>
																<td class="gridBar"><nobr>计划销售面积</nobr></td>
																<td class="gridBar"><img src="/_imgs/bar_line.gif"></td>
																<td class="gridBar"><nobr>计划销售金额</nobr></td>
																<td class="gridBar"><img src="/_imgs/bar_line.gif"></td>
																<td class="gridBar"><nobr>计划销售均价</nobr></td>
																<td class="gridBar"><img src="/_imgs/bar_line.gif"></td>																															
																<td class="gridBar"><nobr>计划回款金额</nobr></td>															
																<td class="gridBar"><img src="/_imgs/bar_line.gif"></td>																
															</tr>
							</HeaderTemplate>
							<ItemTemplate>							
								<tr style="CURSOR: hand" height="24" onclick="doOnTrClick(this)"  EditState="0" SBGUID='<%# CType(Container.DataItem,DataRowView).Row("SBGUID") %>' SBDtlGUID='<%# CType(Container.DataItem,DataRowView).Row("SBDtlGUID") %>'  BuildProductTypeGUID='<%#CType(Container.DataItem,DataRowView).Row("BuildProductTypeGUID")%>'>
									<td class="gridBorder" align="center" colspan="2" id="rowid"><%# DataBinder.Eval(Container.DataItem, "rowid") %></td>
									<td class="gridBorder" align="left" colspan="2" id="BProductTypeName"><%# CType(Container.DataItem,DataRowView).Row("BProductTypeName") %></td>
									<td class="gridBorder" align="right" colspan="2"  id="Rooms" title='<%# DataBinder.Eval(Container.DataItem, "Rooms") %>'><nobr><%#CType(Container.DataItem,DataRowView).Row("Rooms")%></nobr></td>
									<td class="gridBorder" align="right"  colspan="2" id="BldArea" noWrap><nobr><%# string.Format("{0:F2}",CType(Container.DataItem,DataRowView).Row("BldArea"))  %></nobr></td>
									<td class="gridBorder" align="right" colspan="2"  id="Amount" ><nobr><%#string.Format("{0:F2}",CType(Container.DataItem,DataRowView).Row("Amount"))   %></nobr></td>
									<td class="gridBorder" align="right" colspan="2" id="Price"  noWrap><nobr><%# string.Format("{0:F2}",CType(Container.DataItem,DataRowView).Row("Price")) %></nobr></td>
									<td class="gridBorder" align="right" colspan="2" id="JHHKAmount"  noWrap><nobr><%#string.Format("{0:F2}",CType(Container.DataItem,DataRowView).Row("JHHKAmount"))%></nobr></td>									
								</tr>
							</ItemTemplate>
							<FooterTemplate>
							<asp:textbox id="txtXml" style="DISPLAY: none" Runat="server"></asp:textbox>
							
							</TBODY>
						</table>
						</div>
					</td>
				</tr>
				<!-- 列表行 -->
		     </table>
		</FooterTemplate>
		 </mwc:repeater> 
    </form>
</body>
</html>
